#include <stdio.h>
#include "cllist.h"

int main ()
{
    CLList list;
    PNode p;
    ELEMTYPE x;
    int i = 0;
    
    list = createCLList();
    if (list != NULL)
    {
        while (i < 10)
        {
            appendElemCLList(list, i);
            i++;
        }

        //appendElemCLList(list, 99);

        printCLList(list);
        x = 0;
        p = locateVertexCLList(list, x);
        //insertPreCLList(list, p, -1);
        printCLList(list);
        //deleteElemCLList(list, 0);
        deleteVertexCLList(list, p);
        printCLList(list);
        destroyCLList(&list);
    }
    return 0;
}
